<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>完成付款</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script src="__INDEX__/js/mui.min.js"></script>
		<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__INDEX__/css/style.css" />
		<link rel="stylesheet" href="__INDEX__/css/zfcg.css" />
	</head>
	<style>
		.fkcg_tipsbox2 {
		    margin: .8rem .8rem;
		    min-height: 7rem;
		    background: url(__PUBLIC__/static/index/images/shop_buy.jpg) no-repeat;
		    background-size: 100% 100%;
		}
		.vice_name{margin-top:-4.52rem;margin-left:26%;font-size: 20px;}
		.fkcg_top{border-bottom: 10px solid #F2F2F2;}
		.fkcg_infobox{border-bottom: 1px solid #F2F2F2;}
		.fkcg_list .left{color: #000000;}
		.mui-bar-nav{background: #2BB6F6;}
	</style>
	<body class="fkcg_content">
		<header class="mui-bar mui-bar-nav">
			<h1 class="mui-title">支付成功</h1>
		</header>
		<div class="mui-content fkcg_content">
			<div class="fkcg_top">
				<div class="iconcg">
				{if $paylog.pay_type!=2}<img src="__INDEX__/img/zhifubao.jpg">{else/}<img src="__INDEX__/img/weixin.jpg">{/if}
				</div>
				<p class="tips">支付成功</p>
				<div class="fkcg_pribox">
					<span class="yjpri" style='font-size:14px'><em>¥</em><span id='pay_money2'>{$paylog.origin_price ? $paylog.origin_price : '0.00'}</span></span>
				</div>
				
				<div class="fkcg_pribox">
					<span class="pri" style='font-size:22px;font-weight: bold;'><em>¥</em><span id='pay_money'>{$paylog.balance ? $paylog.balance : '0.00'}</span></span>
				</div>
			</div>
			<div class="fkcg_infobox">
				<!--<ul class="fkcg_list">
					<li class="clearfix">
						<span class="left">付款详情</span>
						<span class="center" id='pay_model'>{if $paylog.pay_type!=2}支付宝支付{else/}微信支付{/if}</span>
						<span class="right pay_money">¥{$paylog.balance}</span>
					</li>
					<li class="clearfix score_show" style='display: none;'>
						<span class="left"></span>
						<span class="center" id='pay_text'>11</span>
						<span class="right green" id='pay_score'>¥0.00</span>
					</li>
				</ul>--> 
				<ul class="fkcg_list">
					<li class="clearfix">
						<span class="left">订单号</span>
						<span class="right special" id='sn'>{$paylog.order_sn}</span>
					</li>
				</ul>
			</div>
			<div class="fkcg_infobox">  
				<ul class="fkcg_list">
					<li class="clearfix">
						<span class="left">交易类型</span>
						<span class="right special" id='type'></span>
					</li>
				</ul>
			</div>
			<div class="fkcg_infobox">  
				<ul class="fkcg_list">
					<li class="clearfix">
						<span class="left">收款时间</span>
						<span class="right special" id='sn'>{$paylog.add_time}</span>
					</li>
				</ul>
			</div>
			<div class="fkcg_infobox level" style="display: none;">  
				<ul class="fkcg_list">
					<li class="clearfix">
						<span class="left">会员卡级别</span>
						<span class="right special" id='sn'>{$paylog.name}</span>
					</li>
				</ul>
			</div>
			<div class="fkcg_infobox" style="position: absolute;bottom: 0;background: #2BB6F6;width: 100%;text-align: center;">  
			    <a href="{:url('member/index')}" style="color: white;font-size: 17px; display: block;line-height: 5px;height: 20px;">完成</a>
			</div>
		</div>
		
	</body>

</html>

{include file="public/footer" /}

<script src="__PUBLIC__/static/js/assist.js"></script>
<script type="text/javascript">
	$(function(){
		var type = "{$paylog.type}"; 
		if(type == 1){
			$('.level').show();
			$('#type').text('购买会员卡');
		}else if(type == 2){
			$('#type').text('会员卡充值');
		}else if(type == 3){
			$('#type').text('客房预订');
		}else if(type == 4){
			$('#type').text('退款');
		}else if(type == 5){
			$('#type').text('核销');
		}else if(type == 6){
			$('#type').text('记账');
		}else if(type == 7){
			$('#type').text('餐厅预订');
		}else if(type == 8){
			$('#type').text('桌面收银扫一扫');
		}
	});
	
</script>